package com.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("orderstatus")
public class OrderStatus {

    @TableId(value = "orderid" , type = IdType.INPUT)
    private int orderId;

    private Date timestamp;

    @TableField(value = "status")
    private String status;
}
